<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
            "http://www.w3.org/TR/REC-html40/loose.dtd">
<HTML>
<HEAD>



<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="hevea 1.08">
<LINK rel="stylesheet" type="text/css" href="tutorial.css">
<TITLE>
Other tips
</TITLE>
</HEAD>
<BODY >
<A HREF="tutorial010.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="tutorial003.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
<HR>

<H2 CLASS="section"><A NAME="htoc18">2.8</A>&nbsp;&nbsp;Other tips</H2><UL>
<LI><A HREF="tutorial011.html#toc9">Recommended file names</A>
</UL>

<A NAME="toc9"></A>
<H3 CLASS="subsection"><A NAME="htoc19">2.8.1</A>&nbsp;&nbsp;Recommended file names</H3>
It is recommended programming practice to give the Prolog source
programs the suffix <B>.pl</B>, or <B>.ecl</B> if it contains ECL<SUP><I>i</I></SUP>PS<SUP><I>e</I></SUP>
specific code. It is not enforced by the system, but it simplifies
managing the source programs. The
<A HREF="../bips/kernel/compiler/compile-1.html"><B>compile/1</B></A><A NAME="@default12"></A> predicate
automatically adds the suffix to the filename, so that it does not
need to be specified; if the literal filename can not be found, the
system tries appending each of the valid suffixes in turn and tries to
find the resulting filename.<BR>
<BR>
<HR>
<A HREF="tutorial010.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="tutorial003.html"><IMG SRC ="contents_motif.gif" ALT="Up"></A>
</BODY>
</HTML>
